package com.mpyy.service.purchase;

import com.mpyy.dao.purchase.PurchaseStockMapper;
import com.mpyy.pojo.PurchaseStock;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @Description
 * @Author zhangkaibo
 * @Date 2022-03-09 16:16
 */
@Service("purchaseStockImpl")
public class PurchaseStockImpl implements PurchaseStockInter {
    /*进退货查询（包涵根据时间，单号）*/
    @Autowired
    private PurchaseStockMapper purchaseStockMapper;

    @Override
    public List<PurchaseStock> searchPurchaseStock(PurchaseStock purchaseStock) {
        List<PurchaseStock> purchaseStocks = purchaseStockMapper.searchPurchaseStock(purchaseStock);
        return purchaseStocks;
    }
}
